clear all
close all

s = load('../cbcl_class_svd.mat');
n = load('../cbcl_class_nmf.mat');
l = load('../cbcl_class_linear.mat');
plot( cat(1,s.info.k), cat(1,s.info.accuracy), '-r*', 'LineWidth', 2 ), hold on
plot( cat(1,n.info.k), cat(1,n.info.accuracy), '-bd', 'LineWidth', 2 )
line(xlim, [1 1]*l.info.accuracy, 'Color', 'g')

legend('SVD', 'DistNMF', 'Location', 'SouthEast');
xlabel('k')
ylabel('accuracy')
title('CBCL dataset');

print(gcf, '-depsc', '-tiff', '-r300', '../figures/cbcl_class.eps');